<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">

</head>
<body style="overflow: hidden;opacity: 1">
<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid">
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="block-flat">
                        <form class="form-horizontal group-border-dashed">
                            <div class="form-group">
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="开始" id="startTime"/>
                                </div>
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="结束" id="endTime"/>
                                </div>
                                <div class="input-group">
                                    <button class="btn btn-primary" type="button" id="search"><i
                                            class="fa fa-search"></i>查询
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-info" type="button" onclick="addFun(1)"><i
                                            class="fa  fa-plus-square-o"></i>新增
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-success" type="button" onclick="addFun(2)"><i
                                            class="fa  fa-pencil"></i>修改
                                    </button>
                                    &nbsp;
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="block-flat">
                        <div class="content">
                            <div class="table-responsive">
                                <table class="table hover" id="dataTable">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="addModalLabel">
        <div class="modal-dialog" role="document" style="width:800px">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="addModalLabel">新建交接内容</h4>
                </div>
                <div class="modal-body" style="height:510px;">
                    <form class="form-horizontal" role="form" id="addForm">
                        <div class="form-group" style="height:40px;">
                            <label class="col-sm-2 control-label"><span
                                    class="text-danger">*</span>标题</label>
                            <div class="col-sm-10">
                                <input type="text" maxlength="200" class="form-control" placeholder="请输入标题"
                                       id="titleAdd" name="title" style="margin-bottom:10px;">
                            </div>
                        </div>
                        <div class="form-group" style="height:40px;">
                            <label class="col-sm-2 control-label"><span
                                    class="text-danger">*</span>有效期</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="有效期" id="validity"/>
                            </div>
                        </div>
                        <div class="form-group" style="height:40px;">
                            <label class="col-sm-2 control-label"><span
                                    class="text-danger">*</span>交接性质</label>
                            <div class="col-sm-10">
                                <select class="form-control" name="type" id="type">
                                    <option value="1">正常</option>
                                    <option value="2">一般</option>
                                    <option value="3">重点注意</option>
                                    <option value="4">全体注意事项</option>
                                    <option value="5">新增渠道</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group" style="height:40px;" >
                            <label class="col-sm-2 control-label"><span
                                    class="text-danger">*</span>角色</label>
                            <div class="col-sm-10" id="bindRoleIds_div">
                                <select class="selectpicker" name="bindRoleIds" title="角色" id="bindRoleIds"
                                        data-live-search="true" multiple>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><span class="text-danger">*</span>内容</label>
                            <div class="col-sm-10">
                                <textarea type="text" class="form-control" style="height:160px;" id="contentAdd"
                                          placeholder="请输入内容"
                                          name="content"></textarea>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="addBtn">确定</button>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" src="/js/kindeditor-4.1.10/kindeditor.js"></script>
<script type="text/javascript" src="/js/pageJs/memberManage/adminInterface.js?deVersion=2018075602"></script>
</body>
</html>
